package lab02.test04;

public class Test04 {
    public static void main(String[] args) {

        Staff staff = new Staff("曹友全", 160610, 8000);

        System.out.println("员工姓名："+staff.getName());
        System.out.println("员工号码："+staff.getNum() );
        System.out.println("基本薪水："+staff.getSalary());
        System.out.println("薪水增长额：基本薪水*0.2="+staff.getIncreaSalary());
        System.out.print("工资总额："+staff.Sum());
    }
}


